<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
	<% 
	String server = request.getParameter("server");
	String devId = request.getParameter("devId");
	if(devId==null)
		devId="";
%>
	<head>
		<title>cc-webssh--<%
			if (server != null)
				out.println(server);
		%>
		</title>
	</head>

	<body>
		<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH=700
			HEIGHT=700 NAME="<%=request.getParameter("server")%>" ALIGN=middle
			VSPACE=0 HSPACE=0
			codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab">
			<PARAM NAME=CODE VALUE="com.mindbright.application.MindTerm.class">
			<PARAM NAME=CODEBASE VALUE=".">
			<PARAM NAME=ARCHIVE VALUE="MyApplet.jar">
			<%
				if (server != null) {
			%><PARAM NAME=name VALUE="<%=server%>">
			<%
				}
			%>
			<%
				if (server != null) {
			%><PARAM NAME=server VALUE="<%=server%>">
			<%
				}
			%>
			<%
				if (devId != null) {
			%><PARAM NAME=devId VALUE="<%=devId%>">
			<%
				}
			%>
			<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
			<PARAM NAME="scriptable" VALUE="false">
			<COMMENT>
			<EMBED type="application/x-java-applet;version=1.3"
				CODE="com.mindbright.application.MindTerm.class" CODEBASE="."
				ARCHIVE="MyApplet.jar" <%if(server!=null){%> server="<%=server%>"
				<%} %> <%if(server!=null){%> NAME="<%=server%>" <%} %>
				<%if(devId!=null){%> devId="<%=devId%>" <%} %> WIDTH=700 HEIGHT=700
				ALIGN=middle VSPACE=0 HSPACE=0 scriptable=false
				pluginspage="http://java.sun.com/products/plugin/1.6.0/plugin-install.html">
				<NOEMBED>
					</COMMENT>
				</NOEMBED>
			</EMBED>
		</OBJECT>
	</body>
</html>
